package bean;

public class Message {

	private Integer id;//

	private String name;//名字
	
	private String title;// 标题
	
	private String content;//内容

	private String time;// 时间
	
	private String replycontent;//回复内容
	
	public Message() {
		super();
	}
	
	public Message(Integer id, String name, String title, String content, String time, String replycontent) {
		super();
		this.id = id;
		this.name = name;
		this.title = title;
		this.content = content;
		this.time = time;
		this.replycontent = replycontent;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getReplycontent() {
		return replycontent;
	}

	public void setReplycontent(String replycontent) {
		this.replycontent = replycontent;
	}

	@Override
	public String toString() {
		return "Message [id=" + id + ", name=" + name + ", title=" + title + ", content=" + content + ", time=" + time
				+ ", replycontent=" + replycontent + "]";
	}

}
